import {QueryFiledUtil} from '@/utils'
import {DictOptions} from "@/libs/options";



export const EXCHANGE_SEARCH = [
    QueryFiledUtil.setInputField('redeemCodes', '兑换码'),
    QueryFiledUtil.setDictUrlField('state', '兑换状态',DictOptions.CDKState),
    QueryFiledUtil.setDictUrlField('kind', '兑换类型',DictOptions.ExchangeKind),
]




export const LEVEL_SEARCH = [
    QueryFiledUtil.setInputField('name', '等级名称'),
]


export const INVITER_SEARCH = [
    QueryFiledUtil.setInputField('name', '等级名称'),
    QueryFiledUtil.setInputField('nickName', '前端别名'),
    QueryFiledUtil.setDictUrlField('getWay', '获取方式',DictOptions.LevelGetWay),
]
export const STREAM_BILL = [
    QueryFiledUtil.setDictUrlField('kind', '台账类型', DictOptions.BillKind),
    QueryFiledUtil.setDictUrlField('status', '台账状态', DictOptions.BillState),
    QueryFiledUtil.setInputField('agentPhone', '手机号'),
]

export const RECORD_SEARCH = [
    QueryFiledUtil.setInputField('activityTitle', '活动标题'),
    QueryFiledUtil.setInputField('inviterPhoneNumber', '分销人手机号'),
    QueryFiledUtil.setInputField('actorPhoneNumber', '注册人手机号'),
    QueryFiledUtil.setDateRangeField('dateRange', '注册日期'),
]

export const QUESTIONNAIRE_SEARCH = [
    QueryFiledUtil.setInputField('name', '问卷姓名'),
]